<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

<h:head></h:head> 
<body>
	<center>
	<h:panelGrid rowClasses="15">
	<br/>
	<br/>
	<br/>
	<br/>
	<br/>
	<br/>
	<h:panelGrid columns="1" >
	<h:form>
		<center>
	    <rich:panel header="Inicio de Sesion">
	      <center>
	      	<h:panelGrid>
	      		<h:outputText value="Usuario"/>
	      		<h:inputText id="username" value="#{loginBean.usuario}" styleClass="inputbox"/>
	      		<h:outputText value=""/>
				<h:outputText value="Contraseña "/> 
				<h:inputSecret id="password"  value="#{loginBean.clave}" styleClass="inputbox"/>				
	      	</h:panelGrid>
	      	<center>
	      	<h:panelGrid columns="" rowClasses="3">
	      	<br></br>
	      	<h:commandButton value="Ingresar" action="#{loginBean.login()}" styleClass="buttonwhite"/>
	      	<br></br>
	      	</h:panelGrid>	      	
	      	</center>
	      </center>
		</rich:panel>
		</center>
	</h:form>
	</h:panelGrid>
	<br/>
	<br/>
	<br/>
	<br/>
	<br/>
	<br/>
	</h:panelGrid>
	</center>
</body> 
</html>